Makes this object’s light waver like a flame (true) or hold steady like a lamp (false). Flicker is also a choice in Gbabel; this changes it while the game runs. It does nothing on an object that is not set as a light.
Works differently on Game Boy - The call is accepted but the light does not waver: the Game Boy only tells which sprites stand inside the shape.
Works differently on Game Boy Color - The call is accepted but the light does not waver: the Game Boy Color lights whole 8 by 8 pixel squares, which a few percent of pulsing would not change.
Works differently on Sega Genesis - The Sega Genesis has one dark level: half as bright as the picture. Every darkness number above 0 shows that same dark (a room set to 72 is no darker than one set to 50), and 0 is no dark at all. Each light cuts its hole in that dark, in the shape and size set in Gbabel and in the directions and sizes the code asks for; a light's hole is a picture made ahead of time, so a size or a direction the code works out while the game plays is shown as the nearest one made. An object stands in the light as a whole while its middle is in the light. A light near the edge of the screen is whole or gone, and an object lit by room lights keeps its own colors.
On other consoles this differs: see Side by side and How the consoles differ.
light_flicker(on)| Name | Type |
|---|---|
on | bool |
Nothing.
Makes this object's light waver like a flame (true) or hold perfectly steady like a lamp (false). Flicker is also a choice in the Adjust... window, and that is where a light gets its starting behavior; this call changes it while the game runs. It is the call for a candle that steadies when you shelter it, a fire that settles as it burns down, a bulb that starts to buzz, a torch that is lit from a steady lamp.
A flickering light breathes: the size of the hole it cuts in the room's darkness changes a few percent, each light out of step with the others, so two fires side by side never pulse together.
Flicker does not make the colors of what the light touches blink. An object lit by a flickering fire is tested against the steady shape, so a walker standing near a fire is not lit and unlit again with every pulse.
The call does nothing on an object whose Lighting setting is not This is a light; Gbabel notes it, and the build goes on.
light_flicker(btn_held(BTN_A));The light holds steady, and wavers for as long as A is held.


The flicker pulses the size of the hole in the shroud a few percent, the same pulse shroud_cutout has, each light out of step with the others. Objects lit by the light are tested against the steady shape, so a flickering fire does not make a character’s colors blink.